-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http2: respect inspect() depth #27983
Conversation
LGTM, but I have a question. I did read this code and saw |
That syntax is called a computed property/method name. The linked MDN page will do a better job explaining it than I probably will in a GitHub comment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, didn’t think of something as nice as just returning this
:)
CI: https://ci.nodejs.org/job/node-test-pull-request/23530/ EDIT(cjihrig): CI was yellow. |
This commit causes Http2Stream and Http2Session to account for inspect() depth. PR-URL: nodejs#27983 Fixes: nodejs#27976 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit causes Http2Stream and Http2Session to account for inspect() depth. PR-URL: #27983 Fixes: #27976 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit causes
Http2Stream
andHttp2Session
to account forinspect()
depth.Fixes: #27976
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes